package com.luck48.saas.business;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.ConfigurableEnvironment;

@Slf4j
@SpringBootApplication
public class BusinessApplication {

	public static void main(String[] args) {

		ConfigurableEnvironment environment = SpringApplication.run(BusinessApplication.class, args).getEnvironment();
		log.info("测试地址： http://localhost:{}{}/hello",
				environment.getProperty("server.port"),
				environment.getProperty("server.servlet.context-path")
		);

	}

}
